package com.healthy.service;
import com.healthy.entity.Doctor;
import com.healthy.mapper.DoctorMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DoctorService {

    @Autowired
    DoctorMapper doctorMapper;

    //    查询全部
    public List<Doctor> cuList() {
        return doctorMapper.culist();
    }

}
